[gd_scene load_steps=17 format=2]

[ext_resource path="res://stars.gd" type="Script" id=1]
[ext_resource path="res://MAIN.gd" type="Script" id=2]
[ext_resource path="res://sun.gd" type="Script" id=3]
[ext_resource path="res://click_listen.gd" type="Script" id=4]
[ext_resource path="res://notexactly.png" type="Texture" id=5]
[ext_resource path="res://cme.gd" type="Script" id=6]
[ext_resource path="res://ship.gd" type="Script" id=7]
[ext_resource path="res://ship_dead.png" type="Texture" id=8]
[ext_resource path="res://ship_flying.png" type="Texture" id=9]
[ext_resource path="res://earth.png" type="Texture" id=10]
[ext_resource path="res://earth.gd" type="Script" id=11]
[ext_resource path="res://fire3.png" type="Texture" id=12]
[ext_resource path="res://fire1.png" type="Texture" id=13]
[ext_resource path="res://fire2.png" type="Texture" id=14]

[sub_resource type="RectangleShape2D" id=1]

[sub_resource type="CircleShape2D" id=2]

[node name="MAIN" type="Node2D"]
script = ExtResource( 2 )

[node name="Polygon2D" type="Polygon2D" parent="."]
z_index = -1
color = Color( 0, 0, 0, 1 )
polygon = PoolVector2Array( 115, -150, -153, 48, -151, 634, 521, 766, 1101, 690, 1149, 328, 1141, -34, 851, -234 )

[node name="stars" type="Node2D" parent="."]
script = ExtResource( 1 )

[node name="star" type="Polygon2D" parent="stars"]
polygon = PoolVector2Array( 67, -72, 57, -52, 77, -52 )

[node name="sun" type="Polygon2D" parent="."]
position = Vector2( 104, 16 )
polygon = PoolVector2Array( -34, -50, 15, -18, 63, 24, 91, 112, 119, 268, 111, 418, 67, 576, 20, 626, -125, 686, -313, 494, -329, 184, -182, -76 )
script = ExtResource( 3 )

[node name="click_listen" type="Polygon2D" parent="."]
color = Color( 0, 0, 0, 1 )
polygon = PoolVector2Array( 386, 102, 192, 98, 208, 288, 369, 336, 487, 340, 764, 322, 805, 240, 760, 188 )
script = ExtResource( 4 )

[node name="TextureRect" type="TextureRect" parent="click_listen"]
margin_left = 154.0
margin_top = 66.0
margin_right = 854.0
margin_bottom = 442.0
texture = ExtResource( 5 )
expand = true
stretch_mode = 1

[node name="cme" type="Node2D" parent="."]
position = Vector2( 208, 326 )
script = ExtResource( 6 )

[node name="scaler" type="Node2D" parent="cme"]
position = Vector2( -84, -58 )
scale = Vector2( 0.145877, 0.145877 )

[node name="0" type="TextureRect" parent="cme/scaler"]
margin_right = 40.0
margin_bottom = 40.0
texture = ExtResource( 13 )

[node name="1" type="TextureRect" parent="cme/scaler"]
visible = false
margin_right = 40.0
margin_bottom = 40.0
texture = ExtResource( 14 )

[node name="2" type="TextureRect" parent="cme/scaler"]
visible = false
margin_right = 40.0
margin_bottom = 40.0
texture = ExtResource( 12 )

[node name="KinematicBody2D" type="KinematicBody2D" parent="cme"]

[node name="Polygon2D2" type="CollisionPolygon2D" parent="cme/KinematicBody2D"]
polygon = PoolVector2Array( -26, 12, 46, 24, 28, -22, -48, -22 )

[node name="ship" type="Node2D" parent="."]
position = Vector2( 1110, 188 )
script = ExtResource( 7 )

[node name="scaler" type="Node2D" parent="ship"]
position = Vector2( -104, -68 )
scale = Vector2( 0.2, 0.2 )

[node name="alive" type="TextureRect" parent="ship/scaler"]
margin_right = 40.0
margin_bottom = 40.0
texture = ExtResource( 9 )
stretch_mode = 1

[node name="dead" type="TextureRect" parent="ship/scaler"]
visible = false
margin_right = 40.0
margin_bottom = 40.0
texture = ExtResource( 8 )

[node name="area" type="Area2D" parent="ship/scaler"]
position = Vector2( 560, 340 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="ship/scaler/area"]
scale = Vector2( 47.4, 31.4 )
shape = SubResource( 1 )

[node name="earth" type="Node2D" parent="."]
position = Vector2( 1614, 452 )
script = ExtResource( 11 )

[node name="scaler" type="Node2D" parent="earth"]
position = Vector2( -414, -248 )
scale = Vector2( 0.658861, 0.658861 )

[node name="TextureRect" type="TextureRect" parent="earth/scaler"]
margin_right = 1280.0
margin_bottom = 720.0
texture = ExtResource( 10 )

[node name="area" type="Area2D" parent="earth/scaler"]
position = Vector2( 625.322, 379.443 )
scale = Vector2( 3.40926, 2.95926 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="earth/scaler/area"]
scale = Vector2( 6.85902, 7.20344 )
shape = SubResource( 2 )
